<?php
namespace app\admin\controller;

class Sharethumb extends Admin{
    public function __construct(){
        parent::__construct();
        $this->model = "ShareThumb";
        $this->assign("model",$this->model);
    }
    public function image(){
    	$id = input('param.id');
    	$info = model($this->model)->get_data(['item_id'=>$id]);
    	$this->assign('info', $info);
    	return $this->fetch();
    }
    protected function get_where_map(){

        return [];
    }
}